/*
 * check_acqueue.c
 *
 *  Created on: Sep 21, 2011
 *      Author: thienlong
 */
#include <check.h>
#include "../src/list.h"
array_cqueue *queue = NULL;
void setup() {
	queue = acqueue_new(-1);
}

void teardown() {
	acqueue_clear();
}



int
main (void)
{
  int number_failed = 0;
  Suite *s = vector_suite();
  SRunner *sr = srunner_create(s);
  srunner_set_fork_status(sr, CK_NOFORK);
  srunner_run_all(sr, CK_NORMAL);
  number_failed = srunner_ntests_failed(sr);
  srunner_free(sr);
  return (number_failed == 0) ? EXIT_SUCCESS : EXIT_FAILURE;
}
